clipShape

Clips the view to the specified shape while maintaining its aspect ratio.

Type

1clipShape?: Shape

Example

1<Image 
2  filePath="path/to/photo.jpg"
3  clipShape="Circle"
4/>
5
6<Image 
7  filePath="path/to/photo.jpg"
8  clipShape={
9    type: "rect",
10    cornerRadius: 12
11  }
12/>